//
//  WmcIntegralModel.swift
//  YPWatermarkCamera
//
//  Created by 赵新 on 2022/5/20.
//

import UIKit
import YPNetwork

struct WmcIntegralModel: YPNetworkJsonProtocol {
    struct VideoInfo: YPNetworkJsonProtocol {
        var videoName: String = ""
        var cover: String = ""
        var videoUrl: String = ""

        mutating func mapping(mapper: HelpingMapper) {
            mapper <<< self.videoName <-- "video_name"
            mapper <<< self.videoUrl <-- "video_url"
        }
    }

    var tip: Int = 0

    var videoInfo: VideoInfo?

    mutating func mapping(mapper: HelpingMapper) {
        mapper <<< self.videoInfo <-- "video_info"
    }
}
